Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object: Make deleted object access raise errors, not warnings #48041

Merged
merged 1 commit into from
Apr 20, 2021

Conversation

akien-mga
Copy link
Member

Clarify doc about not decaying to null for free and queue_free.

Part of #45639.


That's still insufficient IMO as those errors lack visibility compared to the actual debugger error which is not specific about it being a deleted or previously freed object:

Screenshot_20210420_113918

You need to go to the Error tabs manually to see mention of "deleted object".

But it's still an improvement over the current status quo, good to get in 3.3.

Clarify doc about not decaying to `null` for `free` and `queue_free`.

Part of godotengine#45639.
@akien-mga akien-mga added this to the 3.3 milestone Apr 20, 2021
@akien-mga akien-mga requested review from a team as code owners April 20, 2021 09:40
@akien-mga akien-mga merged commit 2ece8c4 into godotengine:3.x Apr 20, 2021
@akien-mga akien-mga deleted the 3.x-clarify-freed-instance branch April 20, 2021 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant